package com.duoec.doc.dto.request;

import javax.validation.constraints.Max;

/**
 * @author xuwenzhen
 */
public class ArticleListRequest extends BaseBidOptPageRequest {
    /**
     * 文章分类ID
     *
     * @demo 123
     */
    private String id;

    /**
     * 页码
     *
     * @demo 1
     * @required
     */
    private Integer page;

    /**
     * 每页大小
     *
     * @demo 10
     */
    @Max(100)
    private Integer pageSize;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    @Override
    public Integer getPageSize() {
        return pageSize;
    }

    @Override
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
